<!DOCTYPE html>
  <html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.w3.org/1999/xhtml">
  <title>单位管理</title>
  <head>
    <!--调试使用
    <link rel="stylesheet" th:href="@{/css/pub-lib/bootstrap/bootstrap.min.css}"/>
    <link rel="stylesheet" th:href="@{/css/pub-lib/font-awesome.min.css}"/>
    <link rel="stylesheet" th:href="@{/css/pub-lib/ionicons.min.css}"/>
    <link rel="stylesheet" th:href="@{/js/pub-lib/plugins/easyui/themes/default/easyui.css}"/>
    <link rel="stylesheet" th:href="@{/css/pub-lib/bootstrap/dataTables.bootstrap.min.css}"/>
    <link rel="stylesheet" href="../js/pub-lib/plugins/bootstrap-validator/bootstrapValidator.min.css"/>
    <link rel="stylesheet" th:href="@{/css/pub-lib/_all-skins.min.css}"/>
    <link rel="stylesheet" href="../js/pub-lib/plugins/jqueryConfirm/jquery-confirm.min.css"/>
    <link rel="stylesheet" th:href="@{/css/pub-lib/_all.css}"/>
    <link rel="stylesheet" th:href="@{/css/pub-lib/select2.min.css}"/>
    <link rel="stylesheet" th:href="@{/css/pub-lib/adminLte/AdminLTE.css}"/>
    <link rel="stylesheet" th:href="@{/css/our-lib/myStyle.css}"/>-->
    <!--调试使用-->
  </head>
<body class="hold-transition skin-blue sidebar-mini" style="background:#ecf0f5;">
    <!--标题-->
    <section class="content-header">
      <h1>
        管理系统
        <small>单位管理</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i> 首页</a></li>
        <li><a href="#">系统管理</a></li>
        <li class="active">单位管理</li>
      </ol>
    </section>

    <!--内容-->
    <section class="content">
      <div class="box box-default">
        <div class="box-header with-border">
          <div class="row">
            <div class="col-md-12">

              <div class="form-inline">
                <div class="form-group">
                    <label>单位类型：</label>
                    <select class="form-control select2" id="selectOrgType">
                    </select>
                  </div>
                  <div class="form-group">
                    <label >单位名称：</label>
                    <input id="orgNameTxt" type="text" class="form-control" placeholder="请输入单位名称"></input>
                  </div>
                <div class="form-group">
                  <label>状态：</label>
                  <input class="easyui-switchbutton" onText="有效" offText="无效" id="statusCdTxt"></input>
                </div>
                <button id="orgSearchBtn" class="btn btn-border"><i class="fa fa-search"></i> 查询</button>
                <button id="orgAddBtn" class="btn btn-border" ><i class="fa fa-plus"></i> 新增</button>
                <button id="batchDelBtn" class="btn btn-info" ><i class="fa fa-window-restore"></i> 更改单位状态 </button>
              </div>

            </div>
          </div>
        </div>
        <div class="box-body">
          <div class="col-sm-2 noLeftPadding">
                <div class="treeMenu">
                  <ul id="jobTree" class="treeview-gray">
                    <!--
                    <li class="open"><span>单位类型</span>
                      <ul>
                        <li class="open"><span>建设单位</span>
                          <ul>
                            <li><span>厅信息中心</span></li>
                          </ul>
                        </li>
                        <li><span>监理单位</span></li>
                        <li class="open"><span>承接单位</span>
                          <ul>
                            <li><span>三级菜单</span>
                            <ul>
                              <li><span>四级菜单</span></li>
                              <li><span>四级菜单</span></li>
                              <li><span>四级菜单</span></li>
                            </ul>
                          </li>
                            <li><span>三级菜单</span>
                          </li>
                            <li><span>三级菜单</span>
                            <ul>
                              <li><span>四级菜单</span></li>
                              <li><span>四级菜单</span></li>
                              <li><span>四级菜单</span></li>
                            </ul>
                          </li>
                          </ul>
                        </li>
                      </ul>
                    </li>-->
                  </ul>
                </div>
              </div>
              <div class="col-sm-10 myTable noLeftPadding noRightPadding">
                <table id="orgListTb" class="table table-bordered table-striped">
                  <!--
                  <thead>
                    <tr>
                      <th>序号</th>
                      <th>单位名称</th>
                      <th>单位类型</th>
                      <th>单位地址</th>
                      <th class="fontCenter">状态</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr>
                      <td>001</td>
                      <td>建设单位</td>
                      <td>建设单位</td>
                      <td>长沙</td>
                      <td class="fontCenter">10</td>
                    </tr>
                    <tr>
                      <td>001</td>
                      <td>建设单位</td>
                      <td>建设单位</td>
                      <td>长沙</td>
                      <td class="fontCenter">10</td>
                    </tr>
                    <tr>
                      <td>001</td>
                      <td>建设单位</td>
                      <td>建设单位</td>
                      <td>长沙</td>
                      <td class="fontCenter">10</td>
                    </tr>
                    <tr>
                      <td>001</td>
                      <td>建设单位</td>
                      <td>建设单位</td>
                      <td>长沙</td>
                      <td class="fontCenter">10</td>
                    </tr>
                  </tbody>-->
                </table>
                <div class="myPage">
                  <div id="page"></div>
                </div>
              </div>
        </div>
      </div>
    </section>
  <div class="control-sidebar-bg"></div>


<!--增加修改-->
<div class="modal fade  bs-example-modal-lg" id="AddEditModal" >
  <div class="modal-dialog  modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="modalTitle">增加单位</h4>
      </div>
      <div class="modal-body">
            <form class="row noMargin" id="unitForm">
                <div class="col-sm-6">
                  <div class="form-group">
                    <label>单位名称：</label>
                    <input id="orgNameInput" name="orgNameInput" type="text" class="form-control" placeholder="请输入单位名称"></input>
                  </div>
                  <div class="form-group">
                    <label>单位类型：</label><br/>
                      <select id="orgTypeSel" name="orgTypeSel" class="form-control select2">
                        <!--
                        <option selected="selected">建设单位</option>
                        <option>监理单位</option>
                        <option>承接单位</option>-->
                      </select>
                  </div>
                  <div class="form-group">
                    <label>单位地址：</label>
                    <input id="orgAddrInput" name="orgAddrInput" type="text" class="form-control" placeholder="请输入单位地址"></input>
                  </div>
                  <div class="form-group">
                    <label>电话：</label>
                    <input id="orgTelInput" name="orgTelInput" type="text" class="form-control" placeholder="请输入电话"></input>
                  </div>
                  <div class="form-group">
                    <label>传真：</label>
                    <input id="orgFaxInput" name="orgFaxInput" type="text" class="form-control" placeholder="请输入传真"></input>
                  </div>
                </div>
                <div class="col-sm-6">
                  <div class="form-group">
                    <label>邮箱：</label>
                    <input id="orgEmailInput" name="orgEmailInput" type="text" class="form-control" placeholder="请输入邮箱"></input>
                  </div>
                  <div class="form-group">
                    <label>联系人：</label>
                    <input id="linkManInput" name="linkManInput" type="text" class="form-control" placeholder="请输入联系人"></input>
                  </div>
                  <div class="form-group">
                    <label>联系人手机：</label>
                    <input id="linkManTelInput" name="linkManTelInput" type="text" class="form-control" placeholder="请输入联系人手机"></input>
                  </div>
                  <div class="form-group">
                    <label>联系人电话：</label>
                    <input id="linkManPhoneInput" name="linkManPhoneInput" type="text" class="form-control" placeholder="请输入联系人电话"></input>
                  </div>
                  <div class="form-group">
                    <label>联系人邮箱：</label>
                    <input id="linkManEmailInput" name="linkManEmailInput" type="text" class="form-control" placeholder="请输入联系人邮箱"></input>
                  </div>
                </div>
            </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button id="saveBtn" type="button" class="btn btn-primary">保存</button>
      </div>
    </div>
  </div>
</div>

</body>

  <!---->
  <script th:src="@{/js/pub-lib/jquery.min.js}"></script>
  <script th:src="@{/js/pub-lib/bootstrap.min.js}"></script>
  <script th:src="@{/js/pub-lib/icheck.min.js}"></script>
  <script th:src="@{/js/pub-lib/select2.full.min.js}"></script>
  <script th:src="@{/js/pub-lib/plugins/easyui/jquery.easyui.min.js}"></script>
  <script th:src="@{/js/pub-lib/plugins/toastr/toastr.min.js}"></script>

  
  <script type="text/javascript" src="../js/pub-lib/plugins/bootstrap-validator/bootstrapValidator.min.js"></script>
  <script type="text/javascript" src="../js/pub-lib/plugins/jqueryConfirm/jquery-confirm.min.js"></script>
  <!--
  <script th:src="@{/js/pub-lib/adminlte.min.js}"></script>
  <script th:src="@{/js/pub-lib/common.js}"></script>-->

  <script type="text/javascript" th:src="@{/js/our-lib/commpent/unitcommpent.js}"></script>
  <script th:src="@{/js/our-lib/systemmanage/unitManage.js}"></script>
</html>
